/* pages/codeDetail/codeDetail.wxss */
@import 'app.scss';//引入公共样式组件
@mixin borderRightBottom {
  border-right:1rpx solid $grayS ;
  border-bottom:1rpx solid $grayS ;
}


.rich_img{
  // max-width: 494rpx;
  max-width: 100%;
}

.detailpage {
  width: 100%;
  height: 100%;
  // background-color: rgb(36, 30, 30);
  // overflow: hidden;
  box-sizing: border-box;
  padding: 0 16rpx 180rpx;
  position: relative;

  &-common{
    margin-bottom: 18rpx;
  }

  //附件
  &-attachment{
    width: 100%;
    padding: 10rpx;
    box-sizing: border-box;
    text-align: center;
    border: 1rpx dashed $grayS;
  }

  &-title {
    width: 100%;
    text-align: center;
    font-size: 32rpx;
    font-weight: bold;
  }

//底部固定按钮
  &-bottom{
    display: flex;
    gap: 40rpx;
    flex-direction: row-reverse;
    background-color: $grayXS;
    padding: 16rpx 32rpx;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    &-item{
      text-align: center;
    }
  }

  &-table {
    text-align: center;
    border-top: 1rpx solid $grayS;
    border-left: 1rpx solid $grayS;

    &-row {
      &-head {
        display: flex;
        font-weight: bold;

        &-label {
          flex: 5;
          @include borderRightBottom
        }

        &-value {
          flex: 5;
          @include borderRightBottom
        }

        &-upload {
          flex: 7;
          @include borderRightBottom
        }
      }

      &-body {
        display: flex;
        &-label {
          flex: 5;
          @include borderRightBottom
        }

        &-value {
          flex: 5;
          @include borderRightBottom
        }

        &-upload {
          flex: 7;
          @include borderRightBottom
        }
      }


    }
  }

  &-optflow{
    display: flex;
    text-align: center;
    &-row{
      display: flex;
      flex-direction: column;
      font-weight: bold;
      width: 33%;
      align-items: center;
      justify-content: center;
      &-pic{
        width: 100rpx;height: 100rpx;
        border-radius: 10rpx;
        margin-bottom: 10rpx;
      }
    }
  }

  &-opterate{
    &-row{
      display: flex;
      align-items: center;
      padding: 10rpx;
      border-radius: 10rpx;
      &-label{
        flex:2;
        text-align: center;
        &-name{
          font-weight: bold;
        }
        &-remark{
          font-size: 28rpx;
        }
      }
      &-btn{
        flex:1
      }
    }
  }
}